<template>
  <div class="container bg-white">
    <blank
      :title="empty.title"
      :tip="empty.tip"
    />
  </div>
</template>

<script>
import Blank from '../../components/abnor/blank'
export default {
  components: {
    Blank
  },
  data () {
    return {
      empty: {
        title: '',
        button: '',
        tip: '请求发生后系统没有响应'
      }
    }
  },
  created () {
    let error = this.$route.params
    this.empty.title = error.message
    if (error.tip) {
      this.empty.tip = error.tip
    }
  }
}
</script>
